package com.example.universitylibraryback.event;

public class FineCalculationEvent extends LibraryEvent {
    private String readerId;
    private String borrowRecordId;
    private Integer overdueDays;
    private Double calculatedFine;
    private Double actualFine;
    private String fineReason;
    
    public FineCalculationEvent(String readerId, String borrowRecordId,
                              Integer overdueDays, String fineReason) {
        super("FINE_CALCULATION");
        this.readerId = readerId;
        this.borrowRecordId = borrowRecordId;
        this.overdueDays = overdueDays;
        this.fineReason = fineReason;
    }
    
    // getters and setters
    public String getReaderId() {
        return readerId;
    }
    
    public void setReaderId(String readerId) {
        this.readerId = readerId;
    }
    
    public String getBorrowRecordId() {
        return borrowRecordId;
    }
    
    public void setBorrowRecordId(String borrowRecordId) {
        this.borrowRecordId = borrowRecordId;
    }
    
    public Integer getOverdueDays() {
        return overdueDays;
    }
    
    public void setOverdueDays(Integer overdueDays) {
        this.overdueDays = overdueDays;
    }
    
    public Double getCalculatedFine() {
        return calculatedFine;
    }
    
    public void setCalculatedFine(Double calculatedFine) {
        this.calculatedFine = calculatedFine;
    }
    
    public Double getActualFine() {
        return actualFine;
    }
    
    public void setActualFine(Double actualFine) {
        this.actualFine = actualFine;
    }
    
    public String getFineReason() {
        return fineReason;
    }
    
    public void setFineReason(String fineReason) {
        this.fineReason = fineReason;
    }
}